package cn.gbase.jiangsu.data.transfer.bean;

import java.math.BigDecimal;
import java.util.Date;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import cn.gbase.jiangsu.data.transfer.bean.BaseDto;

/**
 * 商城用户账户交易记录.
 * 
 */
@Table("shop_users_trade")
public class ShopUsersTrade extends BaseDto {

	/**
	 * ID.
	 */
	@Column
	@Id
	private int id;

	/**
	 * 流水号.
	 */
	@Column("seq_number")
	private String seqNumber;
	
	/**
	 * pos票号.
	 */
	@Column("pos_number")
	private String posNum;

	public String getPosNum() {
		return posNum;
	}

	public void setPosNum(String posNum) {
		this.posNum = posNum;
	}

	/**
	 * 用户ID.
	 */
	@Column("user_id")
	private int userId;

	/**
	 * 操作人ID.
	 */
	@Column("operator_id")
	private int operatorId;

	/**
	 * 订单ID.
	 */
	@Column("order_id")
	private int orderId;

	/**
	 * 交易类型.
	 */
	@Column("trade_type")
	private int tradeType;

	/**
	 * 交易金额.
	 */
	@Column("trade_money")
	private BigDecimal tradeMoney;

	/**
	 * 账户余额.
	 */
	@Column("balance_money")
	private BigDecimal balanceMoney;

	/**
	 * 交易时间.
	 */
	@Column("create_time")
	private Date createTime;

	/**
	 * 状态.
	 */
	@Column("status")
	private int status;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getSeqNumber() {
		return seqNumber;
	}

	public void setSeqNumber(String seqNumber) {
		this.seqNumber = seqNumber;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(int operatorId) {
		this.operatorId = operatorId;
	}

	public int getOrderId() {
		return orderId;
	}

	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}

	public int getTradeType() {
		return tradeType;
	}

	public void setTradeType(int tradeType) {
		this.tradeType = tradeType;
	}

	public BigDecimal getTradeMoney() {
		return tradeMoney;
	}

	public void setTradeMoney(BigDecimal tradeMoney) {
		this.tradeMoney = tradeMoney;
	}

	public BigDecimal getBalanceMoney() {
		return balanceMoney;
	}

	public void setBalanceMoney(BigDecimal balanceMoney) {
		this.balanceMoney = balanceMoney;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
}
